package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 日期总排课表，计算缺课使用
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("course_scheduling_always")
@ApiModel(value = "CourseSchedulingAlways对象", description = "日期总排课表，计算缺课使用")
public class CourseSchedulingAlways implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("次课，如第1次为1，第2次为2")
    private Integer num;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("学期")
    private Integer quarterNum;

    @ApiModelProperty("年段，0少儿，1小学，2初中，3高中")
    private Integer gradeSection;

    @ApiModelProperty("时间段开始时间")
    private LocalDate startDate;

    @ApiModelProperty("时间段结束时间")
    private LocalDate endDate;

    private Integer deleted;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Integer getGradeSection() {
        return gradeSection;
    }

    public void setGradeSection(Integer gradeSection) {
        this.gradeSection = gradeSection;
    }
    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }
    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "CourseSchedulingAlways{" +
            "id=" + id +
            ", num=" + num +
            ", name=" + name +
            ", remark=" + remark +
            ", yearPart=" + yearPart +
            ", quarterNum=" + quarterNum +
            ", gradeSection=" + gradeSection +
            ", startDate=" + startDate +
            ", endDate=" + endDate +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
        "}";
    }
}
